<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="ot" uri="http://www.ideyatech.com/tides"%>

<c:if test="${newRow}">
<tr id="receipt-row-${receipt.id}" status="new">
</c:if>
	<td><c:out value="${ receipt.grossPurchase }" /></td>
	<td><fmt:formatDate value="${ receipt.dateOfPurchase }" dateStyle="short" type="DATE" pattern="MM/dd/yyyy" /></td>
	<td>
		<ot:update_button id="${receipt.id}" page="receipt.jspx" prefix="receipt"/>
		<ot:delete_button id="${receipt.id}" page="receipt.jspx" title="" prefix="receipt"/>                  		
	</td>
<c:if test="${newRow}">
</tr>
<script language="javascript">
IDEYATECH.crud.cancelNew('receipt-');
IDEYATECH.crud.refreshTable('receipt-table-results', {})
</script>
</c:if> 